package com.crs.constant;

public class EntityConstant {
    // 用户状态
    public static final int USER_DISABLED = 0;
    public static final int USER_ACTIVE = 1;

    // 用户角色
    public static final int ROLE_USER = 0;
    public static final int ROLE_ADMIN = 1;

    // 资源状态
    public static final int RESOURCE_PENDING = 0;
    public static final int RESOURCE_AVAILABLE = 1;
    public static final int RESOURCE_BORROWED = 2;
    public static final int RESOURCE_UNAVAILABLE = 3;

    // 借用状态
    public static final int BORROW_PENDING = 0;
    public static final int BORROW_APPROVED = 1;
    public static final int BORROW_REJECTED = 2;
    public static final int BORROW_BORROWING = 3;
    public static final int BORROW_RETURNED = 4;
    public static final int BORROW_OVERDUE = 5;


    //五种规则对应的
    public static final int ON_TIME_RETURN = 1;
    public static final int OVERTIME_RETURN = 2;
    public static final int RECEIVE_BAN = 3;
    public static final int LIKE = 4;
    public static final int COMMENT = 5;
}
